-- GENERATED SPELL FOR [Arygos] --


function spell0_15380(pUnit, Event) --@Arygos\'s Vengeance,n/a--
pUnit:FullCastSpellOnTarget(25149,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15380', 2000, 1)
end

function Sorts_15380(pUnit, Event)
local choix_sorts_15380 = math.random(0, 0)
if choix_sorts_15380 == 0 then
pUnit:RegisterEvent('spell0_15380', 1, 1)
end
end

function mob15380_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15380', math.random(1500, 3000), 1)
end

function mob15380_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15380_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15380_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15380, 1, 'mob15380_Action')
RegisterUnitEvent(15380, 2, 'mob15380_Leave')
RegisterUnitEvent(15380, 3, 'mob15380_Kill')
RegisterUnitEvent(15380, 4, 'mob15380_Die')
